from math import pi


def _1():
    print("Welcome to Python\nWelcome to Computer Science\nProgramming is fun")
    return 0


def _2():
    for i in range(5):
        print("Welcome to Python")
    return 0


def _3():
    print("    FFFFFFF   U       U   NN       NN\n\
    FF        U       U   NN N     NN\n\
    FFFFFFF   U       U   NN  N    NN\n\
    FF         U     U    NN   N   NN\n\
    FF           UUU      NN    N NNN")
    return 0


def _4():
    alist = [1, 2, 3, 4]
    print("a\ta^2\ta^3")
    for i in range(4):
        print(alist[i], int(pow(alist[i], 2)), int(pow(alist[i], 3)), sep='\t')
    return 0


def _5():
    print("answer =", (9.5 * 4.5 - 2.5 * 3) / (45.5 - 3.5))
    return 0


def _6():
    print("1+2+3+4+5+6+7+8+9 =", 1+2+3+4+5+6+7+8+9)


def _7():
    a = 0
    for i in range(1, 9):
        a += 1 / (pow(-1, i + 1) * (2 * i - 1))
        if i == 6:
            print("a1 =", 4 * a)
        if i == 8:
            print("a2 =", 4 * a)
    return 0


def _8():
    print("area =", 5.5 * 5.5 * pi)
    print("perimeter =", 2 * 5.5 * pi)
    return 0


def _9():
    print("area =", 4.5 * 7.9)
    print("perimeter =", 2 * (4.5 + 7.9))
    return 0


def _10():
    print("Speed =", 1.6 * (14 / (45.5 / 60)))
    return 0


def _11():
    number = 3120324986
    for i in range(1, 5):
        number = number + (365 * 24 * 60 * 60 // 7) - (365 * 24 * 60 * 60 // 13) + (365 * 24 * 60 * 60 // 45)
        print("Y" + str(i) + " =", number)


def main():
    num = eval(input("Input number to show answer:"))
    if num == 1:
        _1()
    if num == 2:
        _2()
    if num == 3:
        _3()
    if num == 4:
        _4()
    if num == 5:
        _5()
    if num == 6:
        _6()
    if num == 7:
        _7()
    if num == 8:
        _8()
    if num == 9:
        _9()
    if num == 10:
        _10()
    if num == 11:
        _11()


main()
